package com.abcd.godating.service;

import com.abcd.godating.domain.Account;
import com.abcd.godating.repository.jdbc.UsernameAlreadyInUseException;

public interface AccountService {

	public Account createAccount(Account user)
			throws UsernameAlreadyInUseException;

	Account findAccountByUserId(long userId);

	public Account findAccountByUsername(String username);

	public void updateAccount(Account account);

}